package org.zero.onlinesubject.mapper;

import org.zero.onlinesubject.common.vo.MessageNotifyVo;
import org.zero.onlinesubject.entity.MessageNotify;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Entity org.zero.onlinesubject.entity.MessageNotify
 */
public interface MessageNotifyMapper extends BaseMapper<MessageNotify> {

    List<MessageNotifyVo> getMessageByName(String userId,String msgName,Boolean isRead, Integer current, Integer size);

    List<MessageNotifyVo> getMsgBySender(String userId, String msgName, Boolean isRead, Integer current, Integer size);
}




